
message("---xcmake[import_sol2]: libsol2")



find_path(LIBSOL2_INC_DIRS
    NAMES sol/sol.hpp
    PATHS
        ${CMAKE_CURRENT_SOURCE_DIR}/third_part/prebuild/mac/sol2/include
    NO_DEFAULT_PATH
)

if (NOT LIBSOL2_INC_DIRS)
    MESSAGE("sol/sol.hpp is not found: search_path=" ${CMAKE_CURRENT_SOURCE_DIR}/third_part/prebuild/mac/sol2/include)
    return()
endif()


message("---xcmake[import_sol2]: inc_dirs=${LIBSOL2_INC_DIRS}")